package com.inifitness.common.basic;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * 分页请求基础类.
 *
 * @author sunjinfeng
 * @version 1.0.0
 * @since 2024/04/18 11:00:00
 */
@Getter
@Setter
@Schema
public class BasePageQuery {

  @Schema(description = "页码", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
  private int pageNum = 1;

  @Schema(description = "每页记录数", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
  private int pageSize = 10;
}
